//
//  LGKNoteEditModel.m
//  LGKNote
//
//  Created by 刘亚军 on 2023/5/31.
//

#import "LGKNoteEditModel.h"

@implementation LGKNoteEditModel
- (NSString *)showResourceName{
    if (!_MaterialName || [_ResourceName containsString:_MaterialName] || [_MaterialName containsString:_ResourceName]){
        return _ResourceName;
    }
    return [NSString stringWithFormat:@"%@->%@",_ResourceName,_MaterialName];
}
- (BOOL)supportJump{
    if ([_SysID isEqualToString:@"933"] ||
        [_SysID isEqualToString:@"930"] ||
        [_SysID isEqualToString:@"510"] ||
        [_SysID isEqualToString:@"630"] ||
        [_SysID isEqualToString:@"626"] ||
        [_SysID isEqualToString:@"640"] ||
        [_SysID isEqualToString:@"P10"]){
        return YES;
    }
    return NO;
}
@end
